﻿$(document).ready(function () {
  var mapHub = $.connection.mapHub;

  alert('!!');

  $.connection.hub.start().done(function () {
    //var collection = mapHub.server.GetMaps();
    alert('!!');
  });

  $('#btn-host').click(function () {
    //add new to controller
    var collection = mapHub.server.GetMaps();
    alert('!!');
  });
});